package com.WJY.service;

import com.WJY.dao.TeacherDao;
import com.WJY.pojo.Teacher;


public class TeacherServiceImpl implements TeacherService {

    private TeacherDao teacherDao;

    public void setTeacherDao(TeacherDao teacherDao) {
        this.teacherDao = teacherDao;
    }

    @Override
    public Teacher queryTeacherById(int id) {
        return teacherDao.queryTeacherById(id);
    }
}
